package homework;

class Singalton {
    private Singalton() {
    }
    private volatile static Singalton singalton = null;
    public static Singalton getSingalton(){
        if (singalton == null) {
            synchronized (Singalton.class) {
                if (singalton == null) {
                    singalton = new Singalton();
                }
            }
        }
        return singalton;
    }
}
public class day913 {
}
